import unittest
import HTMLTestRunner

log = unittest.defaultTestLoader.discover('./project', pattern='PersonalCenter.py')
file = open('C:\\pycharm\\qfProject\\Test\\percen.html', 'wb')
runner = HTMLTestRunner.HTMLTestRunner(stream=file, verbosity=1, title="修改密码测试", description="修改密码测试详情信息")
runner.run(log)
